#!/usr/bin/env python3
# -*- coding=utf-8 -*-

import sys

from callrobot import ExecRobot


def main():
    rb = ExecRobot()
    try:
        rb.exec_pybot()
    except Exception:
        print("参数传入不对，python run.py TestSuite.txt selenium_node=chromeNode1,firefoxNode1")
        sys.exit(0)
    rb.exec_rebot()


if __name__ == '__main__':
    main()
